package com.zyh.demo;

public class OOPDemo2 {
    public static void main(String[] args) {
        System.out.println(Die.NAME_VALUE);
    }
}

class Die {
    public int age;
    public static final String NAME_VALUE = "123";
    public void show(){
        System.out.println("父类的show方法");
    }
}
class Zai extends Die{
    @Override
    public void show() {
        System.out.println("子类的show方法");
    }
}
